In the Objects tab, you can use the
List,
Detail and
ER Diagram buttons to change the object view.
If you want to hide the group structure in List view or Details view, choose View -> Flatten Object List from the menu bar.
By default, Navicat uses the List view. It only shows the names of objects.
Detail view shows the name and several properties of objects in columns. To change the display columns of properties, choose View -> Choose Columns from the menu bar and choose display columns for different objects from the pop-up window.
Note: Available only for MySQL, Oracle, PostgreSQL, SQLite, SQL Server and MariaDB. Only tables provide ER Diagram view.
An ER diagram will be generated automatically if the selected database/schema contains tables. ER diagram files are stored under Settings Location.
Diagram Canvas
Display table fields and relationships between tables in a database/schema graphically. You can add, edit or delete relations between tables, add or delete vertices on a relation line, and also change the color of a table.
Add a Foreign Key
Click
from the object toolbar. Drag and drop a field from the child table to the parent table.
Edit or Delete a Foreign Key
Control-click a relation line and select Design Relation or Delete Relation from the pop-up menu.
Add or Delete a Vertex
Select a relation line or a vertex. Press and hold the SHIFT key and click on the relation line or the vertex.
Change Table Color
Control-click a table and pick a Color from the pop-up menu.
Apply Auto Layout
Control-click on the canvas and select Auto Layout from the pop-up menu.
Change Page Dimension
Control-click on the canvas and select Page Dimension from the pop-up menu. The corresponding paper dimension will reflect in the Overview pane.
Note: Double-click a table in the ER Diagram view will open the Table Designer, while double-click a table in the List or Detail view will open the Table Viewer.
Overview
To zoom in or zoom out the selected area of the diagram, adjust the slider of the Overview. Same effect can be achieved with keyboard shortcuts:
Zoom In: [COMMAND-Mousewheel up]
Zoom Out: [COMMAND-Mousewheel down]
Object Toolbar
![]()
Switch to hand mode for moving the diagram. Or, you can press and hold the SPACE key, then move the diagram.
![]()
Add a relation between two table fields. Click this button, and then drag and drop a field from the child table to the parent table.